//
//  UIButton+Categotry.h
//  TLUIKit
//
//  Created by c on 2021/10/27.
//

#import <UIKit/UIKit.h>


@interface UIButton (Categotry)

+ (instancetype)buttonWithFrame:(CGRect)rect
                          title:(NSString*)title
                     titleColor:(UIColor*)titleColor
                           size:(CGFloat)size
                         weight:(UIFontWeight)weight;

+ (instancetype)buttonWithFrame:(CGRect)rect
                          title:(NSString*)title
                     titleColor:(UIColor*)titleColor
                           font:(UIFont*)font;

+ (instancetype)buttonWithFrame:(CGRect)rect
                          title:(NSString*)title
                     titleColor:(UIColor*)titleColor
                 systemFontSize:(CGFloat)systemFontSize;

+ (instancetype)buttonWithFrame:(CGRect)rect
                          image:(UIImage*)image
                          title:(NSString*)title
                     titleColor:(UIColor*)titleColor
                           font:(UIFont*)font;

+ (instancetype)buttonWithFrame:(CGRect)rect
                backgroundImage:(UIImage*)backgroundImage
                          title:(NSString*)title
                     titleColor:(UIColor*)titleColor
                           font:(UIFont*)font;

+ (instancetype)buttonWithFrame:(CGRect)rect
                          image:(UIImage*)image
                    selectImage:(UIImage*)selectImage
                          title:(NSString*)title
                    selectTitle:(NSString*)selectTitle
                     titleColor:(UIColor*)titleColor
               selectTitleColor:(UIColor*)selectTitleColor
                           font:(UIFont*)font;

@end

